package com.gxaedu.shiro.service;

import com.gxaedu.shiro.pojo.User;
import org.apache.ibatis.annotations.Param;

public interface UserService {

    User findSimpleUser(@Param("userName") String userName);

    User findAllUser(@Param("userName") String userName);

    /**
     * 将User对象存储到redis中
     * @param user
     */
    void saveUserToRedis(User user);

}
